home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / scopedisk24 / AmyCal / Cal.doc < prev    next >
Text File  |  1988-08-31  |  1KB  |  81 lines

  1. Cal.doc
  2.  
  3.     Cal is a 100% public domain, do-what-you-will program for 
  4.     all Amiga computers. Written in Benchmark Modula-2.
  5.  
  6.     By David Czaya (PLINK -Dave- ) July 1988.
  7.  
  8.     If you feel obliged, leave my name in any modications. If not, 
  9.     don't lose any sleep. Thanks.
  10.  
  11.  
  12.  
  13. Cal is similar to the UNIX command of the same name which prints a
  14. small calendar to the console.
  15.  
  16. The syntax for Cal is      Cal [month] [year]
  17.  
  18. where [month] is any written month (January, February, etc.)
  19. [month] may be shortened to the first 3 unique characters
  20.  
  21. and
  22.  
  23. [year] is any year from 1592 to 9999 (assuming no changes
  24. are made in the next 8000 years or so).
  25.  
  26. Any [year] in the 20th century may be shortened to the final decade.
  27.  
  28.  
  29. For example:  Cal January 1988
  30.  
  31. can be shortened to
  32.  
  33.           Cal Jan 88
  34.  
  35.  
  36.  
  37. Also, typing  Cal  without any parameters, will print a calendar
  38. of the month the system date is currently set to and it will
  39. highlight the current day as well.
  40.  
  41.  
  42. Example 1
  43.  
  44. 1> Cal 
  45.  
  46.      AUGUST 1988
  47.  
  48.  Su Mo Tu We Th Fr Sa
  49.  
  50.      1  2  3  4  5  6
  51.   7  8  9 10 11 12 13
  52.  14 15 16 17 18 19 20
  53.  21 22 23 24 25 26 27
  54.  28 29 30 31
  55.    
  56.  
  57.  
  58. Example 2
  59.  
  60. 1> Cal Feb 1820
  61.  
  62.     FEBRUARY 1820
  63.  
  64.  Su Mo Tu We Th Fr Sa
  65.  
  66.         1  2  3  4  5
  67.   6  7  8  9 10 11 12
  68.  13 14 15 16 17 18 19
  69.  20 21 22 23 24 25 26
  70.  27 28 29
  71.  
  72.  
  73.  
  74. You can also redirect the output of Cal to another device or file
  75.  
  76. Example 3
  77.  
  78. 1> Cal >prt:
  79.  
  80. will print a calendar out on the printer device using the system date.
  81.